package com.pet.model.media.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 自媒体文件夹
 * </p>
 *
 * @author itheima
 */
@Data
@TableName("wm_folders")
public class WmFolders implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 父级id
     */
    @TableField("parent_id")
    private Integer parentId;

    /**
     * 文件夹名称
     */
    @TableField("name")
    private String name;

    @TableField("user_id")
    private Integer userId;

    /**
     * 共享状态:0:全部,1:好友，2:私有
     */
    @TableField("status")
    private String status;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;

    @TableField("created_by")
    private String createdBy;

}